package com.tengju.bff.interfaces.app.charge.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(value = "MonthChargeChartVO", description = "广告指数折线图数据")
public class MonthChargeChartVO {

    @ApiModelProperty(value = "总指数")
    private String total;

    @ApiModelProperty(value = "广告指数曲线")
    ChargeList list;


    @Data
    @Builder
    @AllArgsConstructor
    @NoArgsConstructor
    @ApiModel(value = "ChargeList", description = "广告指数曲线")
    public static class ChargeList {

        @ApiModelProperty(value = "曲线")
        public List<Listline> list;

        @ApiModelProperty(value = "最大节点")
        public String max;

    }

    @Data
    @Builder
    @AllArgsConstructor
    @NoArgsConstructor
    @ApiModel(value = "Listline", description = "曲线")
    public static class Listline {

        @ApiModelProperty(value = "时间")
        public String key;

        @ApiModelProperty(value = "广告指数")
        public String value;

    }
}


